Azure DevOps
ACG LINK
DevOps Overview:
Azure DevOps is a set of development tools and services that facilitate collaboration
between development and operations teams. It includes features for source control, build automation, release
management, and more.
Key Features:
- Azure Repos: Git repositories with unlimited free private repositories.
- Azure Pipelines: Build, test, and deploy with CI/CD pipelines for any
language, platform, or cloud.
- Azure Boards: Agile tools for planning, tracking, and discussing work across
your teams.
- Azure Artifacts: Package management to host and share Maven, npm, NuGet, and
Python packages.
- Azure Test Plans: Comprehensive testing tools to plan, track, and manage
testing efforts.
DevOps Configuration Examples:
1. Setting up a Git Repository in Azure Repos:
- Create a new project in Azure DevOps.
- In the project, go to "Repos" and create a new Git repository.
- Clone the repository locally, add files, commit changes, and push to Azure Repos.
2. Configuring CI/CD Pipeline in Azure Pipelines:
- Define a pipeline YAML file in your repository with build and deployment steps.
- Set up a new pipeline in Azure Pipelines using the YAML file.
- Trigger builds on code commits and deploy to desired environments.
3. Managing Work Items in Azure Boards:
- Create work items for tasks, user stories, or bugs in Azure Boards.
- Assign work items to team members, set priorities, and track progress.
- Use boards, backlogs, and sprints to manage and plan work.
4. Publishing and Managing Packages in Azure Artifacts:
dotnet pack -c Release
dotnet nuget push ./bin/Release/*.nupkg --api-key AzureDevOps --source https://pkgs.dev.azure.com/{organization}/{project}/_packaging/{feed}/nuget/v3/index.json
5. Running Automated Tests in Azure Test Plans:
mstest /testcontainer:Test.dll